﻿@model equinoxWeb.SearchObjects.ClienteBusqueda
@{
    ViewBag.Title = "Search";
    Layout = (ViewBag.esCliente!=null && ViewBag.esCliente?"~/Views/Shared/_ClienteLayout.cshtml":"~/Views/Shared/_Layout.cshtml");
}
<!-- content -->
    <form class="form-horizontal" name="searchForm" method="post" action="SearchResults">
        <fieldset>
            <legend>Buscar cliente</legend>
            <div class="form-group">
                <label class="col-md-4 col-sm-6 control-label" for="RazonSocial">Razon social*:</label>
                <div class="col-md-3 col-sm-6">
                    @Html.TextBoxFor(model => model.RazonSocial, new { @class="form-control",  maxlength = "30", id = "RazonSocial", @Value = "" })
                </div>
            </div>

            <div class="form-group">
                <label class="col-md-4 col-sm-6 control-label" for="NombreContacto">Nombre Contacto:</label>
                <div class="col-md-3 col-sm-6">
                    @Html.TextBoxFor(model => model.NombreContacto, new { @class="form-control", maxlength = "30", id = "NombreContacto" })
                </div>
            </div>


            <!--RUC-->
            <div class="form-group">
                <label class="col-md-4 col-sm-6 control-label" for="Ruc">Ruc:</label>
                <div class="col-md-3 col-sm-6">
                    @Html.TextBoxFor(model => model.Ruc, new { @class="form-control", id = "Ruc" })
                </div>
            </div>
            <button type="submit" class="btn btn-large btn-primary">Buscar</button>&nbsp;
            <button type="button" class="btn btn-large" onclick="javascript:history.back();">Atras</button>

        </fieldset>
    </form>
    <!-- / content -->
